package br.com.intelsys.iflow.driver.struts;

import java.util.ArrayList;
import java.util.List;

abstract class CfgHandleAction {
	private String name;
	private String type;
	private String value;
	private List <CfgProperty> propertyList;
	
	String getName() {
		return name;
	}
	void setName(String name) {
		this.name = name;
	}
	String getType() {
		return type;
	}
	void setType(String type) {
		this.type = type;
	}
	
	String getValue() {
		return value;
	}
	void setValue(String value) {
		this.value = value;
	}

	List<CfgProperty> getPropertyList() {
		return propertyList;
	}
	void addProperty(CfgProperty property) {
		if (this.propertyList == null) {
			this.propertyList = new ArrayList <CfgProperty> ();
		}
		this.propertyList.add(property);
	}

}
